<html>
<body>
Reports creation of <code>Boolean</code> objects.
<p>
  Constructing new <code>Boolean</code> objects is rarely necessary,
  and may cause performance problems if done often enough. Also, <code>Boolean</code>
  constructors are deprecated since Java 9 and could be removed or made
  inaccessible in future Java versions.</p>
<p><b>Example:</b></p>
<pre><code>
  Boolean b1 = new Boolean(true);
  Boolean b2 = new Boolean(str);
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  Boolean b1 = Boolean.TRUE;
  Boolean b2 = Boolean.valueOf(str);
</code></pre>
<!-- tooltip end -->
</body>
</html>